home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 16
/
Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso
/
Aminet
/
dev
/
src
/
wangisrc.lha
/
wangi
/
z
/
SM
/
CStrConstPtr.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-07-11
|
316b
|
25 lines
Unit CstrConstPtr;
INTERFACE
USES
Intuition, Exec;
Function CSCPAR(rk : ppRemember; s : String) : STRPTR;
IMPLEMENTATION
function CSCPAR;
VAR
p : STRPTR;
begin
s := s + #0;
p := AllocRemember(rk, length(s), MEMF_CLEAR);
if p <> NIL then
move(s[1], p^, length(s));
CSCPAR := p;
end;
End. {unit}